package com.order.infrastructure.repository;

import com.order.domain.models.OrderEntity;
import com.order.domain.repository.IOrderRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author 刘志伟
 * @create 2022/9/26 13:50
 */
@Repository("orderRepository")
public class OrderRepository implements IOrderRepository {

    public void save(OrderEntity orderEntity) {
        // save orderEntity into db
    }

    public OrderEntity getOrderById(String id) {
        // query orderEntity from db by id
        return null;
    }
}
